﻿ 
 using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MODEL
{

public partial class BottomNav
		{
			public BottomNav ToPOCO()
			{
				BottomNav poco = new BottomNav()
				{ 
					id=this.id,	 
					name=this.name,	 
					isFirst=this.isFirst,	 
					position=this.position	 
					};
				return poco;
			}
		}

public partial class Cate_Fisrt
		{
			public Cate_Fisrt ToPOCO()
			{
				Cate_Fisrt poco = new Cate_Fisrt()
				{ 
					id=this.id,	 
					isNav=this.isNav,	 
					name=this.name,	 
					type=this.type	 
					};
				return poco;
			}
		}

public partial class Cate_Second
		{
			public Cate_Second ToPOCO()
			{
				Cate_Second poco = new Cate_Second()
				{ 
					id=this.id,	 
					name=this.name,	 
					firstId=this.firstId,	 
					isNav=this.isNav,	 
					type=this.type	 
					};
				return poco;
			}
		}

public partial class Cate_Third
		{
			public Cate_Third ToPOCO()
			{
				Cate_Third poco = new Cate_Third()
				{ 
					id=this.id,	 
					name=this.name,	 
					firstId=this.firstId,	 
					secondId=this.secondId,	 
					isNav=this.isNav,	 
					type=this.type	 
					};
				return poco;
			}
		}

public partial class ContactU
		{
			public ContactU ToPOCO()
			{
				ContactU poco = new ContactU()
				{ 
					id=this.id,	 
					qq=this.qq,	 
					email=this.email,	 
					phone=this.phone,	 
					phone2=this.phone2	 
					};
				return poco;
			}
		}

public partial class EsDetail
		{
			public EsDetail ToPOCO()
			{
				EsDetail poco = new EsDetail()
				{ 
					id=this.id,	 
					title=this.title,	 
					cateFirstId=this.cateFirstId,	 
					cateSecondId=this.cateSecondId,	 
					cateThirdId=this.cateThirdId,	 
					oldNew=this.oldNew,	 
					price=this.price,	 
					pic=this.pic,	 
					description=this.description,	 
					province=this.province,	 
					city=this.city,	 
					school=this.school,	 
					name=this.name,	 
					telephone=this.telephone,	 
					qq=this.qq,	 
					isTop=this.isTop,	 
					date=this.date,	 
					userId=this.userId,	 
					Visitors=this.Visitors,	 
					isDel=this.isDel	 
					};
				return poco;
			}
		}

public partial class Footer
		{
			public Footer ToPOCO()
			{
				Footer poco = new Footer()
				{ 
					id=this.id,	 
					str=this.str	 
					};
				return poco;
			}
		}

public partial class HotNav
		{
			public HotNav ToPOCO()
			{
				HotNav poco = new HotNav()
				{ 
					id=this.id,	 
					name=this.name	 
					};
				return poco;
			}
		}

public partial class MainSlider
		{
			public MainSlider ToPOCO()
			{
				MainSlider poco = new MainSlider()
				{ 
					id=this.id,	 
					picId=this.picId,	 
					thumbPicPath=this.thumbPicPath,	 
					picUrl=this.picUrl	 
					};
				return poco;
			}
		}

public partial class PicManage
		{
			public PicManage ToPOCO()
			{
				PicManage poco = new PicManage()
				{ 
					id=this.id,	 
					name=this.name,	 
					size=this.size,	 
					typeId=this.typeId,	 
					addTime=this.addTime,	 
					addUser=this.addUser	 
					};
				return poco;
			}
		}

public partial class PicNav
		{
			public PicNav ToPOCO()
			{
				PicNav poco = new PicNav()
				{ 
					id=this.id,	 
					picPath=this.picPath,	 
					picName=this.picName	 
					};
				return poco;
			}
		}

public partial class RightAd
		{
			public RightAd ToPOCO()
			{
				RightAd poco = new RightAd()
				{ 
					id=this.id,	 
					picId=this.picId,	 
					picContent=this.picContent,	 
					isBig=this.isBig,	 
					Belong=this.Belong,	 
					picUrl=this.picUrl	 
					};
				return poco;
			}
		}

public partial class RightAdList
		{
			public RightAdList ToPOCO()
			{
				RightAdList poco = new RightAdList()
				{ 
					tId=this.tId,	 
					title=this.title	 
					};
				return poco;
			}
		}

public partial class SaoYiSao
		{
			public SaoYiSao ToPOCO()
			{
				SaoYiSao poco = new SaoYiSao()
				{ 
					id=this.id,	 
					picId=this.picId,	 
					picContent=this.picContent	 
					};
				return poco;
			}
		}

public partial class School
		{
			public School ToPOCO()
			{
				School poco = new School()
				{ 
					id=this.id,	 
					name=this.name,	 
					logoPath=this.logoPath,	 
					isDel=this.isDel	 
					};
				return poco;
			}
		}

public partial class SearchKey
		{
			public SearchKey ToPOCO()
			{
				SearchKey poco = new SearchKey()
				{ 
					id=this.id,	 
					name=this.name	 
					};
				return poco;
			}
		}

public partial class sysdiagram
		{
			public sysdiagram ToPOCO()
			{
				sysdiagram poco = new sysdiagram()
				{ 
					name=this.name,	 
					principal_id=this.principal_id,	 
					diagram_id=this.diagram_id,	 
					version=this.version,	 
					definition=this.definition	 
					};
				return poco;
			}
		}

public partial class UrlName
		{
			public UrlName ToPOCO()
			{
				UrlName poco = new UrlName()
				{ 
					id=this.id,	 
					cid=this.cid,	 
					type=this.type,	 
					enName=this.enName	 
					};
				return poco;
			}
		}




}